package com.cosmoplat.xikai.business.domain.dto.quality;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @ClassName QualityHandleDTO
 * @Description 质量合格处理
 * @Author wdf
 * @Date 2025/1/22
 */
@ApiModel("质量合格处理")
@Data
public class QualityHandleDTO implements Serializable {

    @ApiModelProperty(value = "产品id", example = "111111111")
    @NotNull(message = "产品id不能为空")
    private Long id;

    @ApiModelProperty(value = "处理原因", example = "产品已经处理合格")
    @NotBlank(message = "处理原因不能为空")
    private String remark;
}
